package com.niiwoo.civet.mobile.vo.response.loan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: wuke
 * @Description:
 * @Date: Created in 10:58 2017/11/25
 */
@Setter
@Getter
@ApiModel(value = "退回标的信息查询结果对象")
public class SpeedLoanQueryForBackResponseVO implements Serializable {
    private static final long serialVersionUID = -4157002022356251121L;

    @ApiModelProperty(value="标的Id")
    private Long projectId;

    @ApiModelProperty(value="标的Id")
    private String title;

    @ApiModelProperty(value="到手金额")
    private BigDecimal handAmount;

    @ApiModelProperty(value="借款利率")
    private BigDecimal borrowRate;

    @ApiModelProperty(value="平台服务费率")
    private BigDecimal serviceRate;

    @ApiModelProperty(value="平台管理费率")
    private BigDecimal manageRate;

    @ApiModelProperty(value="担保费率")
    private BigDecimal guaranteeRate;

    @ApiModelProperty(value="仲裁费率")
    private BigDecimal arbitrationRate;

    @ApiModelProperty(value="还款方式（1到期还本息，2等额本息，3按月还息，到期还本）")
    private Byte repaymentType;

    @ApiModelProperty(value="期数")
    private Integer deadline;

    @ApiModelProperty(value="经度")
    private String longitude;

    @ApiModelProperty(value="纬度")
    private String latitude;

    @ApiModelProperty(value="借款省")
    private String loanProvince;

    @ApiModelProperty(value="借款城市")
    private String loanCity;

    @ApiModelProperty(value="借款区")
    private String loanArea;

    @ApiModelProperty(value = "标的申请来源（1、APP，2、H5活动，3、H5极速借, 4、融360）")
    private Byte fromSource;

    @ApiModelProperty(value="退回原因代码，多个用|隔开")
    private String auditReason;

    @ApiModelProperty(value="退回用户处理方案(1、修改授信资料；2、修改借款资料)")
    private Byte processScheme;

    @ApiModelProperty(value="借款被退回详情")
    private DetailBack detailBack;

    @Setter
    @Getter
    public static class DetailBack {

        @ApiModelProperty(value="退回原因")
        private List<String> reasonList;

        @ApiModelProperty(value="用户处理方案 1修改授信资料、2修改借款资料")
        private Byte processScheme;
    }
}
